#include "IPhysicsObject.h"


namespace Physics
{
	//Re-Declare static variable for Compiler Pre-Processing
	//int IPhysicsObject::generateObjectID = 0;
	// 
	int IPhysicsObject::objCount = 0;


	//M002: Return count of objs in Game World
	const int IPhysicsObject::getGlobalObjsCount()
	{
		return this->objCount;
	}

	//M003: Decrement count of objs in Game World
	void IPhysicsObject::decrement_ObjectCount()
	{
		( ( this->objCount > 0 ) ? --this->objCount : this->objCount = 0 );
	}

	//M004: Getter Instance ObjID
	const int IPhysicsObject::getID() const
	{
		return this->objID;
	}

	void IPhysicsObject::setID( int newID )
	{
		this->objID = newID;
	}
} /* NAMESPACE */